package cn.com.hbhgkj.dao;

import java.util.List;

import cn.com.hbhgkj.bussiness.ReviewCode;
import cn.com.hbhgkj.common.DaoException;
import cn.com.hbhgkj.common.Pagination;
import cn.com.hbhgkj.pojo.CopyrightApplication;
import cn.com.hbhgkj.pojo.User;

public interface CopyrightApplicationDao extends
		GenericDao<CopyrightApplication, Long> {
	public List<CopyrightApplication> findByApplicant(User applicant,Pagination pagination)
			throws DaoException;
	
	public List<CopyrightApplication> findByReviewCode(ReviewCode reviewCode,Pagination pagination) throws DaoException;
	
	
	public void updateState(User user,CopyrightApplication ca) throws DaoException;
	
	public List<CopyrightApplication> findByReviewCodes(ReviewCode[] reviewCodes,Pagination pagination) throws DaoException;
}
